package com.topvision.service.api.glass;

import com.topvision.model.hes.Videostream;
import com.topvision.util.R;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface AppVideoStreamService {
    R uploadFile(HttpServletRequest request, @RequestParam("file") MultipartFile[] files,
                 String guid);

    //通过流水号查询会议ID
    Videostream findByCallFlowId(String callFlowId);

    /**
     * 保存视频会议相关信息
     *
     * @param videoStream 信息内容
     */
    void saveVideoStreamInfo(Videostream videoStream);


    int updateVideoStreamInfo(Videostream entity);
}
